package com.sc.nft.service.impl;

import com.sc.nft.dao.ActivityTaskPanelDao;
import com.sc.nft.entity.ActivityTaskPanel;
import com.sc.nft.service.ActivityTaskPanelService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zxy
 * @since 2023-09-13
 */
@Service
@RequiredArgsConstructor
@Slf4j
public class ActivityTaskPanelServiceImpl implements ActivityTaskPanelService {
    private final ActivityTaskPanelDao activityTaskPanelDao;

    @Override
    public List<ActivityTaskPanel> getList() {
        return activityTaskPanelDao.list();
    }

    @Override
    public List<ActivityTaskPanel> getEffectList() {
        return activityTaskPanelDao.getEffectList();
    }
}
